#
# Be sure to run `pod lib lint HybridFlutterSDK.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'HybridFlutterSDK'
  s.version          = '0.1.0'
  s.summary          = 'A short description of HybridFlutterSDK.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/LYSDreamer/HybridFlutterSDK.git'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'YS' => 'ios_liyuansheng@163.com' }
  s.source           = { :git => 'https://gitee.com/LYSDreamer/HybridFlutterSDK.git', :tag => s.version.to_s }

  s.ios.deployment_target = '8.0'
  
  s.static_framework = true
  p = Dir::open("ios_flutter_sdk")
  puts p
  arr = Array.new
  p.each do |f|
    if f == '.' || f == '..'
    else
        arr.push('ios_flutter_sdk/'+f)
    end
  end
  # arr.push('ios_flutter_sdk/*.framework')
  s.ios.vendored_frameworks = arr

end
